
<!DOCTYPE html>
<html>
<head>
<title>拖动验证jquery插件</title>
<meta charset="utf-8"/>
<link href="css/drag.css" rel="stylesheet" type="text/css"/>
<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="js/drag.js" type="text/javascript"></script>
</head>
<body>

<div id="drag"></div>

<script type="text/javascript">
$('#drag').drag();
</script>

</body>
</html>